/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-size: 16px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 60px 80px 30px 20px;
    border-bottom: 1px solid #ddd;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-decoration: underline;
}

.author {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: #000;
    border-bottom-color: #000;
}

.nav-link:hover {
    color: #000;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 80px 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    text-decoration: underline;
    margin-left: -245px;
    margin-top: -20px;
}



.content-text {
    max-width: 100%;
    margin-bottom: 20px;
    margin-left: -245px;
    margin-top: -20px;
}

.content-text p {
    text-align: left;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 16px;
    color: #000;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    text-shadow: none;
}

.keyword {
    color: #000;
    font-weight: bold;
    font-style: italic;
    text-shadow: none;
}

.city-tag {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    text-shadow: none;
}

/* Terminal Panel */
.terminal-panel {
    position: absolute;
    right: -180px;
    top: 50px;
    width: 320px;
    height: 400px;
    background: #fff;
    border: 1px solid #333;
    border-radius: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.terminal-panel .terminal-header {
    background: #f8f8f8;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.terminal-panel .terminal-title {
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.terminal-panel .terminal-content {
    flex: 1;
    padding: 15px;
    background: #fff;
    overflow-y: auto;
    font-size: 11px;
    line-height: 1.4;
}

.terminal-line {
    color: #000;
    margin-bottom: 2px;
    font-family: 'Share Tech Mono', monospace;
}

.terminal-line:nth-child(odd) {
    color: #666;
}

.terminal-panel .terminal-cursor {
    color: #333;
    font-size: 12px;
    animation: blink 1s infinite;
    margin-top: 10px;
}

/* Settings Menu */
.settings-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.game-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #333;
    color: #333;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-button:hover {
    background: #333;
    color: #fff;
    border-color: #333;
    transform: translateX(5px);
}

.game-button:active {
    transform: translateX(2px);
}

.button-text {
    width: 100%;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Footer */
.footer {
    padding: 20px 80px 20px 20px;
    border-top: 1px solid #ddd;
    text-align: left;
    font-size: 12px;
    color: #666;
}

/* Image Placeholders */
.image-placeholder {
    margin: 32px 0;
    border: 2px solid #333;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.placeholder-content {
    text-align: center;
    color: #666;
    font-style: italic;
    text-shadow: none;
}

.placeholder-content p {
    margin: 0;
    font-size: 14px;
}

/* Research Cities Section */
.research-cities {
    margin-top: 40px;
}

.research-cities h4 {
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 16px;
}

/* Research Page Styles (for separate pages) */
.research-entries {
    margin-top: 40px;
}

.research-entry {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.research-entry:last-child {
    border-bottom: none;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-header h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

.entry-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    font-style: italic;
    opacity: 0.8;
}

.entry-content {
    margin-bottom: 20px;
}

.entry-image .image-placeholder {
    height: 300px;
}

/* About Page Styles */
.author-profile {
    margin-bottom: 60px;
}

.profile-image {
    margin-bottom: 30px;
}

.profile-image .image-placeholder {
    height: 300px;
    width: 300px;
    margin: 0 auto;
}

.profile-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

.profile-links {
    margin-top: 30px;
}

.profile-links p {
    margin-bottom: 8px;
    color: #000;
}

/* Contributors Section */
.contributors-section {
    margin-top: 60px;
}

.contributors-section h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

.contributor {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.contributor:last-child {
    border-bottom: none;
}

.contributor-image {
    flex-shrink: 0;
}

.contributor-image .image-placeholder {
    height: 200px;
    width: 200px;
}

.contributor-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

.contributor-content p {
    margin-bottom: 15px;
    color: #000;
}

/* Common content styling */
.content-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

.content-text h4 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #000;
    text-shadow: none;
    text-decoration: underline;
}

/* Default Image Size */
.image-placeholder {
    height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 40px 40px 20px 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .main-content {
        padding: 40px 40px 40px 20px;
    }
    
    .content-text {
        margin-left: -147px;
        margin-top: -20px;
    }
    
    .content-section h2 {
        margin-left: -147px;
        margin-top: -20px;
    }
    
    .content-text p {
        text-align: left;
        font-size: 14px;
    }
    
    /* About page responsive */
    .contributor {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contributor-image .image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .profile-image .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .footer {
        padding: 20px 40px 20px 20px;
    }
    
    .terminal-panel {
        width: 250px;
        height: 300px;
        right: -120px;
        top: 30px;
    }
    
    .game-button {
        padding: 12px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 20px 15px 15px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .main-content {
        padding: 30px 20px 30px 15px;
    }
    
    .content-text {
        margin-left: -122px;
        margin-top: -20px;
    }
    
    .content-section h2 {
        margin-left: -122px;
        margin-top: -20px;
    }
    
    .content-text p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .footer {
        padding: 15px 20px 15px 15px;
    }
    
    .terminal-panel {
        display: none;
    }
} 